clipShape

Clips the view to the specified shape while maintaining its aspect ratio.

Type

clipShape?: Shape

Example

<Image 
  filePath="path/to/photo.jpg"
  clipShape="Circle"
/>

<Image 
  filePath="path/to/photo.jpg"
  clipShape={
    type: "rect",
    cornerRadius: 12
  }
/>